﻿using System;
using System.Runtime.Serialization;

namespace ET.Score.Service.Dtos.Ci
{
	[DataContract]
	public class LogicSectionDataStructDto
	{
		[DataMember]
		public UInt16 LogicSectionId { get; set; } /*逻辑区段ID (初始化字段)*/

		[DataMember]
		public UInt16 BelongAxisSecId { get; set; } /*所属计轴区段ID (初始化字段)*/

		[DataMember]
		public Byte BelongCiId { get; set; } /*所属联锁ID(初始化字段)*/

		/// <summary>
		/// 逻辑区段之前占用状态  0xaa:非通信车占用 ;0xbb:通信车占用 ;0x55:无车占用 ; 
		/// </summary>
		[DataMember]
		public Byte PreOccupyState { get; set; } /*逻辑区段之前占用状态(空闲/占用) (动态字段)*/

		/// <summary>
		/// 逻辑区段当前占用状态  0xaa:非通信车占用 ;0xbb:通信车占用 ;0x55:无车占用 ; 
		/// </summary>
		[DataMember]
		public Byte CurOccupyState { get; set; } /*逻辑区段当前占用状态(空闲/占用) (动态字段)*/

		/// <summary>
		/// 逻辑临时限速状态  0x55 :未设置临时限速 ;0xAA :设置了临时限速 ; 0xFF :临时限速无效 ;
		/// </summary>
		[DataMember]
		public Byte LogicTSRState { get; set; } /*逻辑临时限速状态 (动态字段)*/
	}
}